package com.r2coding.server.common.config;

import com.r2coding.core.constants.Constants;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 功能描述
 * @Create on : 2023/10/20 12:45
 **/
@Data
@Component
@ConfigurationProperties(prefix = "com.r2coding.server")
public class ServerConfig {
    /**
     * 文件分片的过期天数
     */
    private Integer chunkFileExpirationDays = Constants.ONE_INT;
}
